package com.fuxi.cloud.common.constant;

/**
 * CommonConstant
 *
 * @Author: 扫地僧
 * @CreateTime: 2021-04-19
 */
public interface CommonConstant {
    Integer DEL_FLAG_1 = 1;
    Integer DEL_FLAG_0 = 0;
    String PAGENO = "pageNo";
    String PAGESIZE = "pageSize";
    Integer SC_INTERNAL_SERVER_ERROR_500 = 500;
    Integer SC_OK_200 = 200;
    Integer SC_JEECG_NO_AUTHZ = 510;
    String DICT_TEXT_SUFFIX = "_dictText";
    String UPLOAD_TYPE_LOCAL = "local";
    String UPLOAD_TYPE_MINIO = "minio";
    String UPLOAD_TYPE_OSS = "alioss";
    String JIMUREPORT_DICT_CACHE = "jmreport:cache:dict";
    String JIMUREPORT_DICT_CACHE_TXT = "jmreport:cache:dictTxt";
    String[] JIMUREPORT_FUNCTION = new String[]{"=SUM", "=AVERAGE", "=MAX", "=MIN", "=IF", "=AND", "=OR", "=CONCAT"};
    String JIMUREPORT_REGULAR_NUMBER = "^[-+]?(([0-9]+)([.]([0-9]+))?|([.]([0-9]+))?)$";
    String[] JIMUREPORT_SYMBOL = new String[]{",", ":", "+", "-", "*", "/"};
    String[] JIMUREPORT_DB_FUNCTION = new String[]{"=DBSUM", "=DBAVERAGE", "=DBMAX", "=DBMIN"};
    String DBSUM = "=DBSUM";
    String DBAVG = "=DBAVERAGE";
    String DBMAX = "=DBMAX";
    String DBMIN = "=DBMIN";
    String[] SPECIAL_SYMBOLS = new String[]{"\"text\":\"#{", "\"text\":\"${", "\"text\":\"@{"};
    String[] SYMBOLS = new String[]{"#", "@", "$"};
    String PX = "px";
    String COLON = ":";
    String BAR = "-";
    String VERTICALBAR = "|";
    String LINE_START = "lefttop";
    String AM = "AM";
    String PM = "PM";
    String[] ABBREVIATION = new String[]{"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec"};
    String RGB = "rgb";
    String SYMBOL_JIN_HAO = "#";
    String SYMBOL_DENG_HAO = "=";
    String OR_CODE = "qrcode";
    String BAR_CODE = "barcode";
    String IMG = "img";
    String ACCESS_PATH = "/jmreport/shareView/";
    String TERM_VALIDITY_2 = "2";
    String TERM_VALIDITY_3 = "3";
    String STATUS_1 = "1";
    String STATUS_0 = "0";
    String STATUS_2 = "2";
    String STATUS_3 = "3";
    Integer SEARCH_FLAG_1 = 1;
    Integer SEARCH_MODEL_2 = 2;
}

